package novel.web.mapper;

import novel.spider.entitys.Novel;

import java.util.List;
import java.util.Map;

public interface NovelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Novel record);

    int insertSelective(Novel record);

    Novel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Novel record);

    int updateByPrimaryKey(Novel record);
    void batchInsert(List<Novel> novels);
    List<Novel> getsNovelByKeyword(String keyword);
    List<Novel> getsNovelByKeyword2(Map<String, String> map);
}